Vending Machine exercise from TDDBC