Added code to add timeslots to the database.
The code also checks if the slot has already been added.
Also the code checks does not allow any lecture slots before 6am and
after 8pm. Also the maximum allowed timeslot is 2 hrs and the code will
throw an exception if any slot is greater than 2 hrs or less than 1 hr