A modification of the Simple Genetic Algorithm implemented in Java.