Recursive and iterative implementation of fibonacci