added 2 classes for cars + written code in main function