input: Write a python function to capitalize the first letter of each word in a given string.
  assert capitalized("this is a sample sentence") == "This Is A Sample Sentence"
  assert capitalized("hello world") == "Hello World"
  assert capitalized("python programming language") == "Python Programming Language"
output: def capitalized(s):
      return ' '.join(word.capitalize() for word in s.split())