generic linked list for maxnoy