started function to generate evolution trees