incomplete script to simulate trees