Nonlinear Dynamics : A Concise Introduction Interlaced with Code