simple minesweeper implementation