Adding the capability in the Main class to sort the elements using Bubble Sort