commit evaluate reverse polish notation