Implementation of Algorithm 1.1 for division
Author: Ryan McIntyre

Input is positive integers, m and n.

Output is the largest integer q and corresponding r such that
m = q*n+r.
