simple linked list with add function