Program to sort an array using selection sort technique