Control the traffic lights to let the cars through the intersections.