list2d: added some better iterators, more like python's dict type