Simple implementation of minesweeper in C-language