the solution of the PassingCars