added closeBTree method to BTree.java