Selection sort in C++!