Updated Linked List Implementation