added merge sort, reduced code density of UnitTester.cc, randomised the array on each iteration of testing