an implementation of a reverse polish notation evaluator in Ruby