Simplifying Algebraic Expressions