Remove unused local variable.
1. Get rid of all instanceof calls in the Brother module.  Hopefully I did not introduce any bugs.  We will do a code review for all methods from the paper.
2. Implement a factory interface for Maps.  We can now create Maps via this interface is generic code.  We can now for example write tests that take this interface as input and so the same function can be used to check any map.