find pre suc
graph dfs