Here's your problem:

def create_list(word)

 words = []

 words << word

end


Every time you call create_list, you make a new list.

If I were going to write your code, I'd do it like this:

words = []

100.times { words << ("a".."z").to_a.shuffle[0..6].join }

words.uniq!


Make sense?