1-st lesson task 2

Commit for second part of homework.