add source programming, c example for simple list