To run:
Start up.
Show the halvings of 1024.
Wait for the escape key.
Shut down.
To show the halvings of a number:
If the number is 0, exit.
Convert the number to a string.
Write the string to the console.
Divide the number by 2.
Repeat.