C datastructure programs