refine main test code
add selection sort