Created coupon.java class and did some of the methods.