insertion sort modify && shell sort implement

fix stubid logic in insertion sort.
pre release judge add an unuseful cycle as fool.

Signed-off-by: Mingming Zhang <fishtown.mm@gmail.com>