Task: Selection-sort algorithm