Generate 50 random numbers and draw them as bars. Following the steps of bubble sort algorithm and redraw the bar every single step to show how bubble sort works.
Also known as Spiral of Theodorus, this spiral draws a series of side by side right triangles with one leg having fixed unit size, and the other leg a series