Prime Finder Caching Example - Closure Demonstration