Traffic Simulator in Java