added initial outline
changed to BST so that searches can be performed on individual nodes in the BST