I know it means that there is a problem with trying to access restricted memory but I do not know how to find where the error is occurring or how I would go about fixing it. An small explanation would be very helpful.

```c
int main(int argc, char* argv[1]) {
  char emptyBoard[3][3];
  char player;
  int row, column;  // moves
  int i, j;
  // int x = 0;

  for (i = 0; i < 3; i++) {
    for (j = 0; j < 3; j++) {
      emptyBoard[i][j] = '.';
    }
  }
  /*
    for(i = 0; i < 3; i++){
        for (j = 0; j < 3; j++){
   printf("%c ", emptyBoard[i][j]);
    }
    printf("\n");
    }
  */

  FILE* filePtr = fopen(argv[1], "r");
  if (filePtr == NULL) {
    printf("Cannot open File \n");
    return 1;
  }

  while (fscanf(filePtr, "%c, %d, %d", &player, &row, &column) != EOF) {
    // moves = x++;

    emptyBoard[row][column] = player;

    printBoard(emptyBoard);
  }

  // printf("Total Moves: %d", moves );
  fclose(filePtr);
}

void printBoard() {
  int i, j;
  char array[3][3];
  for (i = 0; i < 3; i++) {
    for (j = 0; j < 3; j++) {
      printf("%c ", array[i][j]);
    }
    printf("\n");
  }
}

```