Bubble Sort Algorithm in C++