Add algorithm for finding simple cycles in graph