evaluate RPN