Implemented DFS_recur, not working