poniter function ,merge_sort for tower questtion ---逆序数问题