selection sort in python

selection sort:
time complexity: O(n^2)
space complexity: O(1)