My solution to Reverse Polish Notation