Code for problem "Evaluate Reverse Polish Notation".