create function setRow(int[][]) for next test