Write solutions for Chapter 2 Exercises

(There don't appear to be any exercises for the first chapter.)