Chapter 16 exercises done.

Return of the main function!