working on linked list operations; need to change from named tupe type to mutable class