commented out your AISystem, pasted mine under it

This demonstrates the power of an ECS. We worked on this problem independently, yet it took me 10 seconds to substitute my code for yours.

I'm going to submit another edit with a few tweaks, but I wanted to show you this first ;)