added ability to parse and evaluate prefix and postfix expressions