checks added to drive() and pumpGas()

moved input checks from form to car class