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