creates the BinarySearchTree done in class