solved 5_4.
solved 5_5.
5_6.
solved 5_6.
Merge pull request #171 from fobostm/master

hometask 5 from fobostm