add C library and exercise