adding different variations of merge sort and counting inversions and closest path
make closet pair more efficient and add comments