adding memoize to fib