Long Division with Whole Numbers

Performing long division with whole numbers, step-by-step changes. [i][color=#c51414]Uses LaTex, only works in Java.[/color][/i]

What happens when the quotient starts with leading 0's? Why does the difference not appear sometimes? There are no minus signs on each line. Is it necessary? How is this different than how you do division?