Add selection sort implementation and unit test