Added an algorithm to compute the nth Fibonacci number iteratively.