Create hashtable.cpp

Implements hashtable.h.