Java -Traffic Simulation