Updated CFG

Uses high level code instead of low level