Moved gentree to misc.tcl.