Creating course class with instance variables