Polynomial division done. Need to check using test cases