write a program to implement selection sort in data structure