Merge pull request #1 from sidorovis/master

merge
2_4 done
solved 2_5
Added 2_6
fixed 2_6
fixed error
Merge pull request #141 from vvysokikh/master

solved 2nd task by vvysokikh