changes made to the vendingmachine and to the main class