changed lists, sets, and iterators to be const.  Lists and sets are also now references