version2
still have errors
cannot work.
insert sort worked!