A program for the course data structure