Added words-shuffling function