Created an EventList class.
changed machine[theMachine] to be currentMachine.
Added hasNoActiveJob() and removeJob() methods to the Machine class.