Array list structure in C