Write a program to sort a list of N elements using Selection Sort Technique.