implemented to String

implemented to String for the Courses class