Dynamical Systems and Arithmetic Geometry