Selection Sort Algorithm Time Complexity