flattenBinaryTreeToLinkedList