Mod p Representations of GL_2 and of Quaternion Algebras