undirected graph and depth search first