added hash table delete function