Calculate the number of mines around a string matrix