Added new classes for genetic algorithm.