minesweeper in c