Simulation of vehicles correctly reacting to stop lights and other traffic