isolate function

Randomly select a subset of an ecosystem