Selection Sort Algorithm Complexity