Simple calculator created in Ruby