Adding ai.py, written by Jordan, collaboration between Jordan and Chris
Converted to an AI class that can be called.