Simulates a Least-Recently-Used cache