just a simple bubblesort algorithm in python