The function capitalizes each letter in the input string.

