New solution added.
Solutions for questions in chapter 17,18.