So I need to write a function that is described like this:
std::string capitalize(const std::string& str);
/// Returns a copy of the string centered in a string of length 'width'. /// Padding is done using the specified 'fillchar' (default is an ASCII space).
/// The original string is returned if 'width' is less than or equal to the /// string's length.
/// @example center("C++ is fun", 20, '*') becomes " *****C++ is fun*****"