Add to bst. Make linked list code sharable to be used in the bst code.