makefile for test
construct an iterator for BitSet

- cleaner loop interface
- finishes BitSet iterator refactoring in #1