Create preorderIterator.cpp