zad04 partial solution (bad code only)
zad04 solved