beginnings of a bst implementation