Solve the issue 2-9 non-recursive fibonacci solution.