Add add-course-to-list function