Docstrings and comments
Rename explored to discovered
dfs returns only t (f modified as side effect)
Move exercise solution to function