Selection Sort Leetcode Practice Python