1) validateVehicleType is passed C, c, B, b, T and t, whose values have never been initialised.
2) Why pass validateVehicleType as arguments when C, c, B, b, T and t are already module wide variables?
3) validateVehicleType's if block is using = not ==
4) Theres true and theres false, don't...