some simple programs with C