Timetabling teachers classes