adding testing of selection sort