Update flattenTreeToDoubleLinkedList.java