add selection sort alg and its test.