Added solutions for chapter 4