work on class.rb
Created a car method