Compute random timetable for exams