def GroupByLocation (names, word_list):
    """
    :param names: list of names of businesses
    :type  names: list
    :param word_list: A list where each element is string of all reviews for one business. 
    :type  word_list: list
    :returns: (list of group names, list of strings of concated reviews)
    :rtype:   (list, list)
    """
    
    listOfGroups = []
    for name in names:
        listOfGroups.append ( name.split('_')[0])
    setOfGroups = set (listOfGroups)
    
    placeAndReviews = {}
    for group in setOfGroups:
        placeAndReviews[group] = ''
        
    for i in range (len (names)):
        group = names[i].split('_')[0]
        review = placeAndReviews.get(group)
        placeAndReviews[group] = review + word_list[i]
     
    groups = []
    reviews = []
    for key, val in placeAndReviews.items():
        groups.append (key)
        reviews.append (val)
    #return placeAndReviews
    return (groups, reviews)