Vending machine code kata