Finished, more or less.
Change to use printf.