[Prototype]: The bubble sort part (background and foreground) is done.