Learning and Planning for Autonomous driving