for (int i = 0; i < 2; i++){ for (int k = 0; k <4; k++) { q[i][k] = 0; }}