You have given 4 input files for the minesweeper problem. 2 for the beginner's level(9-9) and 2 for the intermediate level(16-16). The input file format is given below: 1. inputs are given as adjacency matrix 2. an element of the matrix can be of 4 types: 'c' - the block is closed 'o' - the block is open '0'-'9' - the no denotes the no of mines adjacent to it 'f' - the block is flagged(definitely has a mine) 'd' - the state of the block is not known (may or may not have a mine) 3. the elements are given without any blank and the i th line of the file denotes the i th row of the matrix and the j th column from the left denotes the j th column of the matrix. In the 4 files you are given 4 intermediate scenario of the minesweeper game. Now, given a block, in the form of its x-y coordinate (row, column starting from 1), your program should answer its state. The output will be one of the following: i) the block is safe ii) the block has mine iii) the state of the block can't be said