Complex economic dynamics.Volume I,An introduction to dynamical systems and market mechanisms