add method to put strings in a hash to keep track of occurance of each word