Elixir genetic algorithm