MergeSort using Tuples with PatternMatching