Addition of C++ comb sort function