Long Division method to divide two polynomials