Finished binary search tree, bfs, dfs and dfs_rec