Create rebuildBTree.cpp