Create preorderandinordergivenouputtree.cpp