Updated Reverse Polish Notation. Still needs some work for type safety.