implemented Dinneen generation of free trees