Implement DFS for the Binary Tree.