rand takes a file, input stream, or list of "words" and repeats them in a random order to the given output file or stdout.