VERY simple genetic algorithm