Convert BST to double linked sorted list