int endGoalCount(int col){
    int count = 0;
    if (col == Chip.WHITE) {
      for (int i = 1; i<7; i++) {
        if(board[7][i].returnColor() == Chip.WHITE)
          count++;
      }
    }
    if (col == Chip.BLACK) {
      for (int i = 1; i<7; i++) {
        if(board[i][7].returnColor() == Chip.BLACK)
          count++;
      }
    }
    return count;
  }