I have a college assignment and I am having segmentation fault with one of the functions. The assignment is about minesweeper game. Detailed description of the functions: