Genetic Algorithm clean up before modification
Genetic Algorithm with explicit type parameters