Most exercises from Chapter 9 done.