altered the system to work with interrupts, in case of an interrupt the simulation will continue from the last saved configuration.