Getting Autonomous Vehicles to Agree at Intersections