CS12-Frequency counting with a hash table