Data structure examples in c