adds model method

This pull request adds a method to the Car class to output the model name.