add reverse polish notation