Topics in arithmetic dynamical systems