LibMemoize

Memoize the results of a function