bubble sort example in C++