maxone problem using genetic algorithm