Wrote better division algorithm.