Implemented Merge sort without adding requirements on iterators