Extended HashTable to handle more hashing algorithms