adds insertionsort