Refactored findLeaf and implemented the insert into BTree