Simple Bubble sort algorithm