Added calcNumMines function to calculate number of mines for each level of difficulty