Added Memoization sample