A simple hash table implementation in C++