Add insertion sort implementation.