The function takes a string input and returns a list of all the words in the input string.

