Insertion and Bubble sort algorithm impl