Symplectic Euler method