Merge sort added, still requires testing
worked lastnight and forgot to commit