Complete printClasses and getGPA functions.