Simulation of vehicles correctly reacting to trafficlights and other traffic