A double hash table data structure implemented in c++