Chapter 12 exercises done.