change return value types of hash table's find and add functions to size_t