algo: Add SelSort function which sorts based on the selection sort algorithm.