def insertion(X,Y): k = 0 while k