added merge sort in Java