Add selection sort algorithm