merge sort python script