Creating jackknife and bootstrap estimates of the covariance matrix for the two-point correlation function