Added fucntions to detect time conflicts between specified timeslots