def print_dict(self, d):
        for k in d:
            print '\tk_map = %10s, val = %s' % (self.node_ids_print[k], d[k])
print a dictionary
dataset/ETHPy150Open balajiln/mondrianforest/src/mondrianforest.py/MondrianTree.print_dict