Minimal resolutions and the homology of matching and chessboard complexes Chern numbers of kernel and cokernel bundles. Appendix to ''On the Kodaira dimension of the moduli space of curves. II. The even-genus case'' by J. Harris 