implemented insert for BTree