Refactor ListNode and TreeLinkNode