input: Write a python function to capitalize the first letter of each word in a string.
  assert capitalize_string("this is an example") == "This Is An Example"
  assert capitalize_string("hello world") == "Hello World"
  assert capitalize_string("capitalize each word") == "Capitalize Each Word"
output: def capitalize_string(s):
      return ' '.join(word.capitalize() for word in s.split())