intermediate save of task 1. function leapFrogSolver added but leapFrogStep still need to be accomplished.