A hash table implementation in c++