Add chapter on commandline arguments

Please let me know if you think the example should be more verbose.
Are all these `exit(0)` statements necessary? The default exit code programs is already `0`.