A chord implementation in C.