A simple vending machine written in Ruby