黑白棋子反转:广度优先算法
https://leetcode-cn.com/problems/fHi6rV/
func flipChessV2(chessboard []string) int {
n := len(chessboard)//矩阵行数
m := len(chessboard[0])//矩阵列数
dx := []int{
0, 1, 1, 1, 0, -1, -1, -1}
dy := []int{
1, 1, 0, -1, -1, -1, 0, 1}
matrix := make([][]byte,