how to join links in python to get a cycle?,"list(cycle([[0, 3], [1, 0], [3, 1]], 0))"