init selectionsort