Simple programs in C