First decorator example: a decorator that endows a given function (of

one variable) with a cache.