A Simple Cache implemented in C++