Added TreeGenerator (generates random trees, or trees with a given rank for structure and permutation)
Not working!