homework4 - zad1 + polowa zad 2