graph library is added
finds the simple cycle in given graph
gets the all nodes and link to the servlet