implemented stooge, selection, and insertion sorts