created match function, and functions that maps the grammar(expression, term, expression_prime) for parsing expression, and a function to save expression in postfix notation