Chapter 2

Added solutions for chapter 2 exercises.