Example of bubble sort algorithm