https://pyclip.ru/en/tapes/WdTYxogbLtk/how-to-traverse-2d-array-in-python