Simple Algorithm to match students with their courses.