A interval-list implementation in C