input: Write a function to invert the order of words in a given string.
  assert invertWords("This is a string") == "string a is This"
  assert invertWords("Hello World") == "World Hello"
  assert invertWords("Python is fun") == "fun is Python"
output: def invertWords(s):
      return ' '.join(s.split()[::-1])