http://www.geeksforgeeks.org/flatten-a-linked-list-with-next-and-child-pointers/
added question to the solution