Fixed comparing keys in HashTable and did wordCount() in WordStat