basic polish notation parser