added one solution from Polish algorithmic skirmish potyczki algorytmiczne