def Join(array, separator):
    arr_str = ""
    for i in range(len(array)):
        if i == (len(array) - 1):
            arr_str += (array[i])
        else:
            arr_str += array[i]
            arr_str += separator
    return arr_str