I stumbled upon this code that is supposed to remove the last element of a linked list. I don\'t understand how by modifying a local variable we are modifying a class attrib