This is a java university coursework to simulate vehicles waiting in a traffic queue at a busy junction. When the lights are red, cars / buses / trucks wait in the queue and as soon as the light turns green, the first car moves across the junction etc.
I have the coursework spec on pdf for fuller information.