Solution to the PassingCars problem.