Assignment 416, C program to take in strings, sort, then print