execution time for selection sort