Updated TimePeriod class to include startTime and endTIme. 2 constructors available for user's preference.