set intersection tests
attempted to implement restarting
Merge pull request #3 from echu/master

Set intersection and restarting