Create Flatten Binary Tree to Linked List.java

return the reference as the end of flattened tree