Merged changes in from mingrody repo at https://github.com/mmii/CIS450_Program2_mmii
Fix bug, where if only one job was left processing it would end the simulation early