added insertion sort as an example