Added a basic merge sort.