Game of Life implementation in elixir