Degeneracy schemes, quiver schemes, and Schubert varieties