string sillycaps(string str)
Convert the first character in each word (separated by spaces) in str to upper case, and return the new string.