completed moving cars on roads logic.