adding a sample graph with 4000 nodes and the algorithm passed for that graph,