add linked list to bst