Homework Code for CourseArea