Work on Debugging AI

Buggy as all ****