bubble and insertion sort done