Dynamical Systems and Ergodic Theory