method to scramble any given list of words