modified endRun methods of RegElevator and RegPerson so simulation would end.