Generalized GA: new parameters: elitism, fitnessfunction, maxfitness. Made the parameters labeled. isinstance(maxfitness, function) has to be fixed when internet comes home..