czy mój algorytm jest naprawiony? tak, testuję coś takiego