LRU Cache better solution using a list