programm about singly-linked list of structure