Introduction to dynamical systems