leapfrog code for solving the time-dependent Schrodinger equation