Some error in dfs code


help