Create flattenbinarytree.cpp