RaceCar implementation created as a programming homework.