learning to implement the vending machine.