Changed the ai code so its not just for mineturtles