add Dfsearch,but there has some bugs