bubble sort python working