added solutions for chapter 9