Finished Chapter 2

Completion of the Chapter 2 exercises.