Add full support for network analysis (closes #12).

This could use more testing, and it may not be that useful given
that I'm constricting to a single focal word, but it does do what
it says on the tin, which is good enough to close this bug.