Minesweeper game in Java for school assignment