tinkering with bubble sort