MineSweeper clone in Java