Splitted the NS in two : aded the graph_utilities to detect cycles in graphs.