''' Purpose: implements the car.py problem on test 1 '''