added solutions for chapter 10
minor changes