solve evaluate reverse polish notation