added solutions of tasks for chapter 5