now reads courses from a curriculum.txt file