reverse polish notation using stack - Search