Refactored site.py into functions.  Also moved over to using sets.

New regression test suite.
3 files changed