implement minesweeper for haskell

The example could be a bit more elegant if it used more than one intermediate data structure, but this is short and relatively efficient…
/cc @soapie @qnikst @pminten @sjakobi