Added randomtree generation and bfs sequence extractor