Simple C++ hashtable