Add Tree BFS/DFS