complete basic working minesweeper