Use delegates instead of one-method interfaces.
Fix bug in InsertionSort.SortRecursive.