Car class implementation with accelerate and brake