Added simplifier code to simplify and parse expressions.