fix print array bug
finish insertion and selection sort, with unit tests.