A few programs in C