Beginning conversion to BST