added two more algorithms for BST and BFS