lruly - implements an LRU cache.