selection sort algorithm in python with example