Create diameterTree.cpp