Modified TrafficSimulator to keep track of the iteration and gap (added
getter and setters) when running the DTA.