data structure practice in c language