BasicSimulationEngine: pulling the while loop out from the fucntionality
of SimulationLoop
BasicSteppingSimulationEngine: changed to utilized the isolated
whileloop in BasicSimulationEngine.