change method checkOut() in Cart.java