style
added error code
This should be fully functional, need to delete commented out code and add some testing for union/intersection
added testing, removed some old comments, general cleanup
added exception file
small changes