Simulation steps partial commit. Added max steps functionality.
Simulation now checks for max steps exceeded or no.