A simple implementation for the least recently used caching algorithm