Simple Minesweeper game in C