Added implementation for ht_find()