Added leapfrog subroutine, implemetation in main. Output is wrong!