Common data structures and algorithms implemented in C