Add initial incomplete implementation of bs_tree.