Python Remainder And Quotient Synthetic Division