create capitalize_string method