BFS,DFS
add RestoreIP