Working BST! with both BFS and DFS