--- from: http://rosettacode.org/wiki/Parsing/RPN_calculator_algorithm