Bubble Sort algorithm Implementation using Java