add another function in BubbleSort.java