minesweeper clone from scratch