Evaluates expressions for balanced parenthesis. Can also evaluate post-fix expressions.