Update Course.java

Fixed boxing/unboxing issues