A simple cache simulator that supports N-way Set Associativity written in C++