Added Monitor class

used to monitor the current time in simulation and stop the simulation
when done