Lectures on Ergodic Theory