Still has a small issue with the mergeSort...
Xcode stuff