Selection Sort Leetcode Problem Set 4