Added insertion sort, and fixed the part of the unit test which looked
at if the darray was sorted.