Collection Interface and Array Implementation in C