define Car class with attributes