Code work for graph with 5 vertices
Work for graph with 10 vertices
comment out debug code