Add new memoization examples
Add immediate function pattern