Add another memoization example using 'castMemoizer'.

This demonstrates that subsequent memoized functions don't
require extra boiler plate, besides the decorator.