Minesweeper implementation written in Haskell