leap frog for logistic equation