factoring polynomials with common factor - Search