Prediction and Planning for Autonomous Racing