figures for genetic algorithm