Adding checks for the AI becoming stuck for loop
update .gitignore