Simple data structures implemented in C