add description to selection sort function