adding simple example of c programming