add connected Graph
add deep first trarversal