made a car.rb file for class assignment