simple executor for the genetic algorithm