C Program For 2d Transformation