Code from Handbook of Neuroevolution Through Erlang translated to Elixir