I must have been tired when I wrote this code. I am pretty certain that I understand how the indirection works now. I just remember thinking that it was super weird that I could change something and then another variable suddenly changed its contents. But of course they pointed to the same thing behind the scenes.
Sorry for the inconvenience and thank you for the reply!