BGL: cycles in undirected graph