A simulation of traffic using multithreading.