Create flipTreeWithLeafRightNodes.cpp