Finished code generation for CAM. Need to implement C code generator