Dealing with optionals in Zig while building a Tree, discoving how Zig handles memory