Flatten Tree To Linked List