genetic algorithm on D