Created constructor for Course.java