Updated CourseDetails class

Indentation and comments