Introduction to Dynamical Systems and Geometric Mechanics