creating a car class