MineSweeper in java