Create MergeSortImpl.java

Java implementation of merge sort