An overly contrived implementation of a RPN calculator.