Implementation of Simple AI
Improoved AI
Cleanup code