Tracking previously used words to avoid duplicates