Move nextEventTime() method from EventList class to Machine class, and
changed references to method accordingly. All tests pass.