The problem here is that you have the row / column indexes replaced in the array declaration part, and therefore the compiler is confused.
Typically, when declaring a multidimensional array, the first index is for rows, the second is for columns.
This form should fix:
int people[9][6] = {{0,0,0,0,0,0}, {0,0,0,0,0,0}, {0,0,0,0,0,0}, {0,0,0,0,0,0}, {0,0,0,0,0,0}, {0,0,0,0,0,0}, {0,0,0,0,0,0}, {0,0,0,0,0,0}, {0,0,0,0,0,0}};