added lib/course.rb