public Hash(HashFunctionInterface hashCounter) {
        this.hashTable = new List[length];
        for (int i = 0; i < length; i++) {
            hashTable[i] = new List();
        }
        this.hashCode = hashCounter;
    }