'Creates a new list with the give name for the authenticated user.
Args:
name (str):
New name for the list
mode (str, optional):
\'public\' or \'private\'. Defaults to \'public\'.
description (str, optional):
Description of the list.
Returns:
twitter.list.List: A twitter.List instance representing the new list'

def CreateList(self, name, mode=None, description=None):

    url = ('%s/lists/create.json' % self.base_url)
    parameters = {'name': name}
    if (mode is not None):
        parameters['mode'] = mode
    if (description is not None):
        parameters['description'] = description
    resp = self._RequestUrl(url, 'POST', data=parameters)
    data = self._ParseAndCheckTwitter(resp.content.decode('utf-8'))
    return List.NewFromJsonDict(data)
