I try to convert the following python function
def Sous(dist,d) : l=len(dist) L=[[]] for i in range(l) :