More Correlator updates, HT already-present fix

Correlator: word frequency calculations implemented.

HashTable: issue where searching for already present item caused
infinite loop resolved.