Update CourseList.java

This is where the initializations take place, if someone can take a look and help me with the JOptionPane loop, I tried a for loop, do while, and recursive (I left the recursive loop).