removed minimal and finished treegen.cpp