expanded MergeSort.java and BubbleSort.java