restructured ir printing mechanism; added print properties; added tests
for dataflowgraph