Added print functionality

Like 3 rules changed. Still not tested on real cycletic graph.