An Introduction to Dynamical Systems