reading the courses and sections into java data structures