Elixir minesweeper

A simple grid counting exercise for Elixir.

Multiple approaches are possible such as iterating over the mines, figuring out which squares are next to them and iterating over each square and counting the number of adjacent mines.