pub fn flatten_mults(equation: MathExpressionTree) -> MathExpressionTree