Final version of Vending Machine