different data structures implementations in c language