hash table: clean up code for open adressing