polish notation calculator implemented using procedural transliteration