A java based minesweeper