Add sort base class, selection sort and insertion sort.