Added new methods to class Flight and created class Time.