Added b-tree traversal to insert