i
is the row and
j
the column index
int i,j,ck;