generate a random population