Simplify the division program a bit and learn a new iterative way to solve this issue.