FlattenBTtoLinkedList