Arithmetic, Geometry, and Coding Theory