Implement SelectionSort
Refactor SelectionSort