Function to make some mutations on a population.