adding c and cpp programs