Evaluate Reverse Polish Notation

Approach 1: using a stack for saving operand