Changed how we check for repeating words, hopefully faster.