finished Courses.java functionality.