Root-finding of polynomials