Various kinds of sorting algorithms implemented in C
Also prints every step of the sort.
printArray() function prints the array of the given length
checkSort() checks if the given array is sorted in ASCENDING order
checkSort() returns the value TRUE(1) if the array is sorted and FALSE(0) if it is not sorted
All the above array related functions take two arguments: array_Name and array_length
The first argument is the name of the array and the second is the actual length of the array
The swap function uses pointers to swap the values of two variables.