added a class to plot
added code to plot charts of all pair of parent, child