The Vehicle class given below is used to represent various types of self-propelled vehicles. It should be illegal to construct a Vehicle of type "truck" with less than 4 wheels, or a Vehicle of type "motorcycle" with any number of wheels except 2. Modify the constructor so that an IllegalArgumentException is thrown if either of these conditions are not met.