Topics in arithmetic dynamics