Syzygies and Hilbert Functions