fixed bugs in merge and mergesort, added inversions2 which is still not done...