Renames and memoization of fib function to handle large numbers