Fix memoize example to use memoized function within the scope

Going through the test documentation today I noticed the memoized fibonacci function would only be memoized on the first call and on recursive calls it would use the non-memoized function.