parallelized genetic algorithm