Write a function, that given the three components of a name (first name, middle name or initial, and last name), returns a single string object consisting of the last name, followed by a comma, and then the first name and middle intitial, followed by a period. For example, given "John", "Quincy", and "Doe", the function should return the string "Doe, John Q.".