implementing a single bubble sort