updating password generator to make a real copy of the words array to prevent duplicate passwords