Implement DFS recursively