long division with polynomials