refactored ExpressionParser.
modified operator precedence. removed unused code.