Added integer requirement to ex4