Working v1 - Lru-cache implementation