Added insertion sort implementation