<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _edits2(word: str) -> Set[str]: """ Return a set of words with edit distance of 2 from the input word """

    return set(e2 for e1 in _edits1(word) for e2 in _edits1(e1))