Program works for constant step length, and seems to reach some sort of equilibrium.