First homework, Selection Sort in Python