Basic (+-*/) calculator in Ruby