Elements guide me!

Changed AIController to loop with (int i = 0; i < bla bla bla)