divideAndRemainder

Perform integer division and return quotient and remainder