finished version one of simulation function
removed areBothStopsOnLine function because it was unnecessary. Finished simulation