My first attempt at implementing a hash table