input: Write a python function to capitalize the first letter of each word in a sentence.
  assert convertToCapitalize("hello world") == "Hello World"
  assert convertToCapitalize("python programming language") == "Python Programming Language"
  assert convertToCapitalize("convert to capitalize") == "Convert To Capitalize"
output: def convertToCapitalize(sentence):
      return ' '.join(word.capitalize() for word in sentence.split())