Java Vending Machine