Added the basic ver. of selection sort