Changed wordlist data structure to hashset step 4