separate priority check into helper function
add before/after timeslot adjustment in instructor time constraint