Finished line_sort.c