a simple vending machine