Hamilton's equations and symplectic numerical methods