Added RPN solution