Simplifying Algebraic Expressions With Powers