Selection Sort Time And Space Complexity