lock_based revise and adding btree
lockbased bst and btree