add example of randomly generating trees