LRU cache implementation.