Implementation of Count Min Sketch in C++