Algebraic Geometry and Arithmetic Curves