Evaluate reverse polish notation