add possibility to save entire populations at certain iterations