Added merge sort method along with unit tests