[B tree] Completed the imperative search part