In operations.c keep the divide function...it performs the division between the two polynomials and takes the remainder...it seems to work!