Genetic algorithm for solving the university timetable problem