A Neutral Hydrogen Survey of M31