Selection Sort Problem Leetcode 75