Added a constructor to Task that takes a Machine instead of an int.
Changed machine field to refer to a Machine. machineIndex replaced the
old field.
changed Job.addTask to take a Machine, and pass it to new Task()
Removed referenced to MSS.machine[] in Job. Jobs can now extract a
machine directly from their Task queue.
Removed unused machineIndex field from Task. Removed unused Task
constructor.
Removed some unused getter/setter methods in MSS.
Changed Job.moveToNextMachine to take timeNow and largeTime as input.
changed reference in MSS to reflect the above.
Changed Machine.changeState to take timeNow and largeTime as input.
Changed references to changeState in Job and MSS.
Changed Job.moveToNextMachine to use its new inputs
Changed Machine.changeState to use its new inputs.
Also alligned the Machine class file. It was gross.
Removed getter/setter for numMachines. All references are internal, so
MSS can reference it directly.
Removed now-unused getters for timeNow and largeTime. Changed all fields
in MSS to private.
Moved timeNow to startShop. It makes the most sense to reset the shop's
runtime as it is started.
added some TODOs as suggestions for variable names. Removed a comment
explaining the placement of timeNow.
Added a nextFreeMachine method to replace nextEventMachine. Have NOT
made the switch yet, just wrote the method.
Addendum to last commit: Rewrote nextFreeMachine method so that it does
not reference machine[] directly.