Parsing polish notation