Refactored machine file
Merge branch 'master' of https://github.com/aitkenster/vending-machine