// if row[row_x - 1,ser_y + 1] = 9 then
// z_row_ser = z_row_ser + 1
// end if
// if row[row_x - 1,ser_y] = 9 then
// z_row_ser = z_row_ser + 1
// end if
// if row[row_x,ser_y + 1] = 9 then
// z_row_ser = z_row_ser + 1
// end if
// if row[row_x + 1, ser_y ] = 9 then
// z_row_ser = z_row_ser + 1
// end if
// if row[row_x + 1, ser_y + 1] = 9 then
// z_row_ser = z_row_ser + 1
// end if
//elseif row_x = 1 and ser_y = 1 then
// if row[1,2] = 9 then
// z_row_ser = z_row_ser + 1
// end if
// if row[2,1] = 9 then
// z_row_ser = z_row_ser + 1
// end if
// if row[2,2] = 9 then
// z_row_ser = z_row_ser + 1
// end if
elseif row_x < 9 and row_x > 1 and ser_y = 9 then if row[row_x - 1,ser_y - 1] = 9 then
z_row_ser = z_row_ser + 1
end if
if row[row_x - 1,ser_y] = 9 then
z_row_ser = z_row_ser + 1
end if
if row[row_x,ser_y - 1] = 9 then
z_row_ser = z_row_ser + 1
end if
if row[row_x + 1, ser_y ] = 9 then
z_row_ser = z_row_ser + 1
end if
if row[row_x + 1, ser_y - 1] = 9 then
z_row_ser = z_row_ser + 1
end if
elseif row_x = 9 and ser_y < 9 and ser_y > 0 then if row[row_x - 1,ser_y - 1] = 9 then
z_row_ser = z_row_ser + 1