An introduction to chaotic dynamical systems