An Evolutionary Algorithm for Assigning Students to Courses