Finished smart AI

The AI now has a guessing strategy!