adding documentation for insertion sort