'Flatten a list of data.
Arguments:
data (list) : List of list of words.
Returns:
list : A single flattened list of all words.'

@staticmethod
def flatten(data):

    return reduce((lambda x, y: (x + y)), data)
