An Introduction to Lagrangian Mechanics