skiplist written in C