Implemented LRU cache policy
auto merged