added selectionSort skeleton