Gentree

I have written an algorithm for generating trees.