Sorting Algorithms Implemented in C