A working simple version of the Euler symplectic method using repa.