Selection Sort Problems Leetcode Two