Create VendingMachine.js

Functions are self explanatory