Reverse Polish Notation basic calculator