selection sort in go with array