Example OO design for a vending machine