https://anylang.net/pl/videos/en/chapter-4-nested-loops