copied over and fixed insertion sort but testing still doesnt work