final commit to ai.py

final commit