Added proper BubbleSort method and updated Main class to return sorted