add DFS solution
iteration solution