Find cyclical nodes
.return_loops(m)
m
adjacency matrix
See Networks: an introduction from M.E.J. Newman, 2010, p. 136-139 for a reference on this algorithm.