Selection Sort Algorithm

It's a simple sorting algorithm that repeatedly selects the minimum element from the unsorted part of the array and swaps it with the first element of the unsorted part.