Added BTree.write(), read(), and search()