an example of style divide et impera used in merge sort without min function