Create FlattenLinkedList.java