added solutions of tasks for chapter 2