reverse polish notation convert