def create_labeling(config):
    """This routine takes a string of atomic locations as a vector and the
    atomic concentrations and returns a unique labeling.
    Args:
        config (list of int): A list of integers describing the arrangement of atoms on
          the lattice.
    Returns:
        label (str): The atomic labeling for the arrangement.
        arrow (str): The arrow directions for the arrangement.
    """
    label = ''
    arrow =  ''
    if isinstance(config[0],list):
        for i in config:
            label += str(i[1]-1)
            arrow += str(i[0]+1)
    else:
        for i in config:
            label += str(i-1)
            arrow += '0'
    
    return(label,arrow)