Minesweeper in Java