added insertion sort implementation for integer arrays