finished merge sort for py