input/output file
insertion sort algorithm in c and c++ optimized and fixed for arena; checked if arr i is greater or equal than arr i-1