Added basic example of caching function result