LRU C implement