Completed the basics of Selection Sort