reorg
implement minesweeper in terms of grid