Added a couple of new functions: iterblocks and whereblocks
Moved whereblocks to a function in ctable, where it fits better