Fixed with a better IDE this time

Clearly, I do not fully grasp pointers yet. Most of my functions worked
just fine without using pointers, but I'm afraid I'm just postponing the
inevitable.