Adding cache to LRU with 50 elements
Changing to inline loop