Write solutions for Chapter 2 Exercises

(There don't appear to be any exercises accompanying Chapter 1.)