Translated es_AISim2.py into AISim2.py