Classify territories before each turn. Add gitignore