Selects the minimum element from the unsorted part and swaps it with the element at the beginning of the unsorted part.
Explain code with DocComment! Try out your own code!