Selection Sort Leetcode Problem 34