Create an algorithm in Python that takes a string as input and returns a list of words from that string.
"Hello World"
def string_to_words(s):
    return s.split(' ')

words = string_to_words('Hello World')
print(words)