Java implementation of the game Minesweeper