evaluate resverse polish notation solution