def split(name):
    """
    Splits a string of form firstname lastname into two strings, returning a list
    containing those names.
    """
    spIn = name.rfind(' ')
    first = name[ :spIn]
    last = name[spIn + 1: ]
    return [first, last]