Selection Sort In Leetcode Python