list implementation of  c language