Testing memoization with the Fibonacci sequence