Implement TreeToLinkList