Added main C program