added print statements to VendingMachine