Add BST to double linked list problem