Raw code for merge function
Add mergeSort() function and bugfix from merge()
Add test Merge sort in main.cpp