Minesweeper game in java