protected void toggleDiagonals(int row, int col, List<Piece>[][] cells, int n, boolean b){
        int i = row;
        int j = col;
        while (i >= 0 && j >= 0){
            addOrRemoveAsEating(i, j, cells, b);
            i--;
            j--;
        }
        i = row;
        j = col;
        while (i < n && j < n){
            addOrRemoveAsEating(i, j, cells, b);
            i++;
            j++;
        }
        i = row;
        j = col;
        while (i >= 0 && j < n){
            addOrRemoveAsEating(i, j, cells, b);
            i--;
            j++;
        }
        i = row;
        j = col;
        while (i < n && j >= 0){
            addOrRemoveAsEating(i, j, cells, b);
            i++;
            j--;
        }
    }