add uniqueiterator, not fully tested
need to use ptrs so inheritance works
need to make the comparator part of uniqueIterator

otherwise equality is pretty limited