Add LRU caching algorithm