a. Keep track of the end of your linked list as it grows.
or
b. Write a function that will traverse your list and return a count of nodes, giving you the size of your list.
Then once you know how big your list is, write a function that will
insert at the end of your list. e.g add a new node at the end, and connect it to the beginning of the list to keep it circular.