Added new basic genetic algorithm