Fixed typo in DFS code snippet.