reverse polish notation evaluator