first commit of makeSunilTreeFlat.cpp