Figure 3: Diagram showing the approach used for CPG implementation.