Update Course.java

modified constructor, added methods for sessions arraylist.