Update flipTreeWithLeafRightNodes.cpp