migrated LRU cache implementations from separate repo to common_algorithms