Passing all tests for RPN