Insertion sort algorithm implementation in Cpp.