Formats a first and last name input -- C program