input: Write a python function to convert a string to title case.
  assert to_titlecase("hello world") == "Hello World"
  assert to_titlecase("this is a test") == "This Is A Test"
  assert to_titlecase("PYTHON programming") == "Python Programming"
output: def to_titlecase(s):
      return s.title()