Replaced ArrayList<String> uniqueWords with a Hashtable<String, String>