htab_hash() is the hashing fuction. it returns a hash number for a string modulo a chosen number