Added solutions for exercises 1-5 of chapter 3