Bubble Sort Algorithm

Bubble sort is a simple comparison-based sorting algorithm. It is named like that because it sorts elements similar to the water bubble rising to the surface, i.e. after all iterations are completed, either lower or higher values bubble up towards the top index of the given array. By making multiple passes through an array with